package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.BasHealthAssessment;
import com.aijk.ehm.model.BasHealthAssessmentExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BasHealthAssessmentMapper {
    int countByExample(BasHealthAssessmentExample example);

    int deleteByExample(BasHealthAssessmentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasHealthAssessment record);

    int insertSelective(BasHealthAssessment record);

    List<BasHealthAssessment> selectByExample(BasHealthAssessmentExample example);

    BasHealthAssessment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasHealthAssessment record, @Param("example") BasHealthAssessmentExample example);

    int updateByExample(@Param("record") BasHealthAssessment record, @Param("example") BasHealthAssessmentExample example);

    int updateByPrimaryKeySelective(BasHealthAssessment record);

    int updateByPrimaryKey(BasHealthAssessment record);
}